unit fAbout;

interface

uses
  Winapi.Windows,
  System.SysUtils,
  System.Classes,
  Vcl.Graphics,
  Vcl.Forms,
  Vcl.Controls,
  Vcl.StdCtrls,
  Vcl.Buttons,
  Vcl.ExtCtrls,
  Vcl.Imaging.jpeg;

type
  TAboutBox = class(TForm)
    Panel1: TPanel;
    ProgramIcon: TImage;
    ProductName: TLabel;
    Version: TLabel;
    Comments: TLabel;
    OKButton: TButton;
    Image1: TImage;
    procedure ProgramIconClick(Sender: TObject);
    procedure CRSImageClick(Sender: TObject);
    procedure DelphiButtonClick(Sender: TObject);
    procedure Image1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  AboutBox: TAboutBox;

implementation

uses
  ShellAPI;

{$R *.DFM}

procedure TAboutBox.ProgramIconClick(Sender: TObject);
begin
  ShellExecute(0, 'open',
    'http://www.glscene.org/', '', '', SW_SHOW);
end;

procedure TAboutBox.CRSImageClick(Sender: TObject);
begin
  ShellExecute(0, 'open',
    'http://www.caperaven.co.za/glscene/glsceneindex.htm',
     '', '', SW_SHOW);
end;

procedure TAboutBox.DelphiButtonClick(Sender: TObject);
begin
  ShellExecute(0, 'open',
   'http://www.borland.com/delphi/', '', '', SW_SHOW);
end;

procedure TAboutBox.Image1Click(Sender: TObject);
begin
  ShellExecute(0, 'open',
   'http://www.opengl.org/', '', '', SW_SHOW);
end;

end.

